<template>
	<view class="today_box">
		<view class="title">{{ title }}</view>
		<view class="message"><slot></slot></view>
	</view>
</template>

<script setup>
const props = defineProps({
	title: {
		type: String,
		default: ''
	}
});
</script>

<style lang="scss">
.today_box {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 10rpx;
	.title {
		font-size: 30rpx;
		font-weight: bold;
	}
	.message {
		font-size: 24rpx;
	}
}
</style>
